Move Item
Certainly! Here is the help documentation for the "Move Item" activity:
# Move Item
```AutomatR.FTP.MoveItem```
The "Move Item" activity in AutomatR is part of the FTP activities package, facilitating the movement of an item on the FTP server from one remote location to another. This activity streamlines the process of transferring files within the FTP server, enhancing the efficiency of automation workflows.
## Properties
| Name | Description |
| -------------------- | ---------------- |
| ***Input*** | |
| User Name | Provides a valid username to establish a connection with the FTP server. String variables containing the username. |
| Password | Provides the password for the username to establish a connection with the FTP server. String variables containing the password. |
| Host | Provides a valid host credential to establish a connection with the FTP server. String variables containing the host information. |
| Server Source Path | Provides the server source path for the item you want to move. For example, "/MoveItemSource". String variables containing the server source path. |
| Server Destination Path | Provides the server destination path for the item you want to move. For example, "/MoveItemDestination". String variables containing the server destination path. |
| Overwrite | If checked, it enables you to move an item with the same name as the one in the destination location. Boolean variables indicating whether to overwrite existing items. |
| ***Miscellaneous*** | |
| Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
| ***Optional*** | |
| Delay | Specifies the amount of time (in seconds) to wait before executing the "Move Item" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. For example, if the delay is 1000 milliseconds or 1 sec, set it to 1. |
**How to use:**
1. Drag and drop the "Move Item" activity onto the workflow.
2. Configure the properties by specifying the FTP server credentials, server source path, server destination path, and optional delay.
3. Set the Overwrite property to decide whether to overwrite existing items with the same name in the destination location.
4. Execute the workflow to move the specified item from the source path to the destination path on the FTP server.
**Example:**
Consider an example where the "Move Item" activity is used to move files from the source path "/MoveItemSource" to the destination path "/MoveItemDestination" on the FTP server:
```plaintext
Move Item:
Delay: 0
Password: "your_password"
User Name: "your_username"
Host: "ftp.yourftpserver.com"
Server Source Path: "/MoveItemSource"
Server Destination Path: "/MoveItemDestination"
Overwrite: true
In this example, the activity moves items from the "MoveItemSource" directory to the "MoveItemDestination" directory on the FTP server. The Overwrite property is set to true, allowing items with the same name in the destination location to be overwritten.